import java.util.Scanner;


public class P5720 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int i =1;
        while (a>1){
            a/=2;
            i++;
        }
        System.out.println(i);
    }
}